const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    proxy: {
      "/api": {
        target: "http://39.108.223.149:8080",
        pathRewrite: { "^/api": "" },
        changeOrigin: true,
      },
    },
    port: 3000,
  },
  css: {
    loaderOptions: {
      sass: {
        additionalData: `@import "~@/assets/css/base.scss";`,
      },
    },
  },
});
